-- @Author: Marte
-- @Date:   2017-08-09 20:39:55
-- @Last Modified by:   Marte
-- @Last Modified time: 2017-12-26 20:21:48

--同名方法，也是此场景的中介器，所以不是写成类
function Scene01_Main()
     -- body
    Scene01_UIlist = {}

    for i, PanelName in pairs(MainPanelList) do
        print("拥有的面板"..PanelName);
        Scene01_UIlist[PanelName] = require("SceneLua/"..PanelName).new();
    end

    --显示主界面
    Scene01_UIlist["UIMain"]:showPanel()
end

function Scene01_Excute(name, data)
    -- body
     print("MainScene01");
     print(name..data);
end